package com.cpit.platform.service;

import java.util.List;

import com.cpit.platform.common.entity.TableDataQueryCondition;
import com.cpit.platform.common.entity.TableJsonData;
import com.cpit.platform.dto.MainPageItem;

public interface MainPageService {
	List<MainPageItem> findAll();
	void create(MainPageItem auth) throws Exception;
	void delete(MainPageItem auth) throws Exception;
	List<MainPageItem> findByCondition(int page, int size, String order, String orderBy, String sysName) throws Exception ;
	public TableJsonData findByConditionJqg(TableDataQueryCondition cond) throws Exception ;

	public MainPageItem findByID(Integer sysId);


	
	MainPageItem findById(Integer id);

}